const article = {
    get: {
        name: '获取文章列表',
        type: 'post',
        path: '/document/articles'
    },
    getBlog: {
        name: '获取文章内容',
        type: 'get',
        path: '/document/detail'
    },
    getUser: {
        name: '获取文章用户',
        type: 'get',
        path: '/user/info2'
    },
    docs: {
        name: '文章集',
        type: 'post',
        path: '/document/ids'
    }
}

const comment = {
    get: {
        name: '获取评论列表',
        type: 'get',
        path: '/comments/get'
    },
    editThumbsStatus: {
        name: '设置评论点赞',
        type: 'get',
        path: '/comments/thumbs/edit'
    },
    save: {
        name: '评论',
        type: 'post',
        path: '/comment/save'
    },
    delete: {
        name: '删除评论',
        type: 'get',
        path: '/comment/delete'
    },
    getComment: {
        name: '获取评论列表',
        type: 'post',
        path: '/comment/list'
    },
    getList: {
        name: '获取自己的评论列表',
        type: 'post',
        path: '/comment/pages'
    }
    
}

export default { article,comment }